package cn.iocoder.yudao.module.cmt.controller.admin.activity.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ActivityInfo分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ActivityInfoPageReqVO extends PageParam {

    @Schema(description = "社区ID", example = "1")
    private Long communityId;

    @Schema(description = "商户ID", example = "1")
    private Long merchantId;

    @Schema(description = "活动分类ID", example = "1")
    private Long categoryId;

    @Schema(description = "活动标题", example = "社区志愿服务活动")
    private String title;

    @Schema(description = "活动状态：0草稿 1报名中 2进行中 3已结束 4已取消", example = "1")
    private Integer activityStatus;

    @Schema(description = "是否推荐：0否 1是", example = "1")
    private Integer isRecommend;

    @Schema(description = "是否热门：0否 1是", example = "1")
    private Integer isHot;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
